package com.aiti.lulian.mapper.gxmh;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.gxmh.entity.GxmhTkCurrentSearch;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description:
 * auth fcb
 * date 2025-06-16 17:27
 **/
public interface GxmhTkCurrentSearchMapper extends SuperMapper<GxmhTkCurrentSearch> {

    Integer queryUserKeywordCount(@Param("userId") String userId, @Param("keyword") String keyword);
    List<GxmhTkCurrentSearch> queryUserKeywordList(@Param("userId") String userId);

    void deleteBySearchIdList(@Param("idList") List<String> idList);

    void updateSearchCount(@Param("userId") String userId, @Param("keyword") String keyword);

    List<String> hotSearchKeywordList();
}
